package com.glodon.paas.consumer.service.bean;

import java.util.ArrayList;
import java.util.List;

public class APIInfoBase {
	
	public String baseURI = null;
	

	public List<String> apis = new ArrayList<String>();
	
	
	public String build(){
		StringBuffer ret = new StringBuffer();
		for(int i=0; i<apis.size(); i++){
			StringBuffer str = new StringBuffer("<br>"+apis.get(i));
			str.insert(str.indexOf("]")+1, " &nbsp &nbsp &nbsp &nbsp &nbsp "+baseURI);
			ret.append(str);
		}
		return ret.toString();
	}

	public String getBaseURI() {
		return baseURI;
	}
	
	public void setBaseURI(String baseURI) {
		this.baseURI = baseURI;
	}

}
